package com.clt.ess.gjzw.domain.confirmReceipt;

import java.io.Serializable;

//提交确认信息接口返回业务参数中的待签名业务申请结果返回结果
public class ConfirmReceiptResponseData implements Serializable {
    //每个申请包处理的返回结果，0 是成功，其他表示错误
    //必须
    private String errorCode;
    //印章编码
    //必须
    private String yzbm;

    /**
     {
         "errorCode": "0",
         "yzbm": "印章编码"
     }
     */

    public ConfirmReceiptResponseData() {
    }

    public ConfirmReceiptResponseData(String errorCode, String yzbm) {
        this.errorCode = errorCode;
        this.yzbm = yzbm;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getYzbm() {
        return yzbm;
    }

    public void setYzbm(String yzbm) {
        this.yzbm = yzbm;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"errorCode\":\"")
                .append(errorCode).append('\"');
        sb.append(",\"yzbm\":\"")
                .append(yzbm).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
